<ng-container *ngIf="showSelectAll">
  <label
    apes-checkbox
    [(ngModel)]="allChecked"
    (ngModelChange)="updateAllChecked()"
    [apesIndeterminate]="indeterminate" [apesDisabled]="disabled">全选</label>
</ng-container>
<apes-checkbox-wrapper style="width: 100%;" (apesOnChange)="setCheck($event)">
  <div apes-row>
    <ng-container *ngFor="let item of fileList">
      <div apes-col [apesSpan]="item.span? item.span:8">
        <label apes-checkbox
               [apesValue]="item"
               [ngModel]="item.checked"
               [apesDisabled]="disabled">{{item.name}}</label></div>
    </ng-container>
  </div>
</apes-checkbox-wrapper>
